xen/arm: traps: Constify show_*, do_unexpected_trap and do_bug_frame parameters
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:12:53 +0000 (18:12 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:13:36 +0000 (10:13 -0800)
commit6ac3518ecc2040a19ad59cadeb1dad3ce9c47027
tree51b615121af801e9a7df9ddede0fe6fda463f81b
parent55877a806f2fe7293779edb3a33ca6256edebed8
xen/arm: traps: Constify show_*, do_unexpected_trap and do_bug_frame parameters

Those helpers are not meant to modify most of the parameters. So constify them.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/traps.c
xen/include/asm-arm/bug.h
xen/include/asm-arm/processor.h